package com.athuiju.eduservice.client;

import com.athuiju.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-oss")
@Component
public interface OssClient {
@GetMapping("/eduoss/fileoss/fun1/{id}")
    public R fun1(@PathVariable("id")String id);

@DeleteMapping(value = "/eduoss/fileoss/delOssFile/{filepath}")
    public R delOssFile(@PathVariable("filepath")String filename);
}
